<%@page import="org.amj.wn.jamaat.Jamaat.JamaatProperty"%>
<%@page import="org.amj.wn.jamaat.Jamaat"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<title>Edit</title>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
<body>
	<jsp:include page="admincommon.jsp"></jsp:include>
	<br />
	<div class="menu">Edit Jamaat</div>
	<form method="post" action="/admin/JamaatServiceOperations">
	
		<%
			String memberCode = request.getParameter("wn");
			Jamaat wn = Jamaat.get(memberCode);
			if (wn == null) {
				response.sendRedirect("/admin/menu.jsp?r=1");
			} else {
				%>
			<label>
				<span>Jamaat Code</span> 
				<input class='input_text' disabled="disabled" value='<%=wn.getJamaatCode() %>' type='text' />
				<input class='input_text' value='<%=wn.getJamaatCode() %>' name='<%=JamaatProperty.jamaatCode %>' type='hidden' />
			</label>
			<label>
				<span>Name</span> 
				<input class='input_text' value='<%=wn.getJamaatName() %>' name='<%=JamaatProperty.name %>' type='text' />
			</label>
				
		<input name='opt' class='input_text' type='hidden' value='MODIFY' /> 
		<input type='submit' value='Update' class="input_button" />
		<%} %>
	</form>
</body>
</html>
